﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TCKQKL.FrontEnd.DataModel
{
    /// <summary>
    /// Stock holding of per Investor Account 
    /// (Investor may have assign accounts as well)
    /// </summary>
    public class TotalHoldingDataUI
    {
        private List<HoldingDataUI> _holding;
        public List<HoldingDataUI> Holding
        {
            get { return _holding; }
            set { _holding = value; }
        }
        private InvestorDataProfileUI _accountProfile;
        public TCKQKL.FrontEnd.DataModel.InvestorDataProfileUI AccountProfile
        {
            get { return _accountProfile; }
            set { _accountProfile = value; }
        }
        private List<BankDataUI> _bankData;
        public List<BankDataUI> BankData
        {
            get { return _bankData; }
            set { _bankData = value; }
        }
        private decimal _tradingValue;
        public decimal TradingValue
        {
            get { return _tradingValue; }
            set { _tradingValue = value; }
        }
        private decimal _nettingValue;
        public decimal NettingValue
        {
            get { return _nettingValue; }
            set { _nettingValue = value; }
        }
        private decimal _lockedValue;
        public decimal LockedValue
        {
            get { return _lockedValue; }
            set { _lockedValue = value; }
        }
        private decimal _totalValue;
        public decimal TotalValue
        {
            get { return _totalValue; }
            set { _totalValue = value; }
        }
        private decimal _totalGain;
        public decimal TotalGain
        {
            get { return _totalGain; }
            set { _totalGain = value; }
        }
        public TotalHoldingDataUI()
        {

        }

        public TotalHoldingDataUI(List<HoldingDataUI> holding, InvestorDataProfileUI profile, List<BankDataUI> bankData, decimal TradingValue, decimal NettingValue, decimal LockedValue, decimal TotalValue, decimal totalGain)
        {
            this._holding = holding;
            this._accountProfile = profile;
            this._bankData = bankData;
            this._tradingValue = TradingValue;
            this._nettingValue = NettingValue;
            this._lockedValue = LockedValue;
            this._totalValue = TotalValue;
            this._totalGain = TotalGain;
        }
    }
}
